﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using NhaSachDAO;
using System.IO;
using System.Data.SqlClient;
using DTO;

namespace NhaSachBUS
{
    public class LoaiSachBUS
    {
        public static DataTable LoadLoaiSach()
        {
            return NhaSachDAO.LoaiSach.LoadLoaiSach();
        }
        public static void XoaLoaiSach(string maloai)
        {
            NhaSachDAO.LoaiSach.XoaLoaiSach(maloai);
        }
        public static void ThemLoaiSach(string maloai, string tenloai)
        {
            NhaSachDAO.LoaiSach.ThemLoaiSach(maloai, tenloai);
        }
        public static void CapNhatLoaiSach(string maloai, string tenloai)
        {
            NhaSachDAO.LoaiSach.CapNhatLoaiSach(maloai, tenloai);
        }
    }
}
